<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.global.js"></script>
    <style>
        .divider {
            border-bottom: 1px solid black;
        }
    </style>
</head>

<body>
    <div id="app">
        <div id="range" class="demo">
            <span v-for="n in 10" :key="n">{{ n }} </span>
        </div>
        <hr>

        <ul>
            <template v-for="item in items" :key="item.msg">
                <li>{{ item.msg }}</li>
                <li class="divider" role="presentation"></li>
            </template>
        </ul>
    </div>

    <script>
        const app = {
            data() {
                return {
                    items: [
                        { msg: "张三疯" },
                        { msg: "尼古拉斯赵四" },
                        { msg: "隔壁老王" },
                    ]
                }
            }
        }
        Vue.createApp(app).mount("#app")
    </script>
</body>

</html>